﻿using System;

namespace WindowsAPI
{
    /// <summary>Аргумент события мыши</summary>
    [Serializable]
    public class MouseEventArgs : EventArgs
    {
        public Mouse.Message Msg { get; private set; }
        public Mouse.MsllHookStruct Struct { get; private set; }

        public MouseEventArgs() { }
        protected MouseEventArgs(MouseEventArgs args) : this(args.Msg, args.Struct) { }
        public MouseEventArgs(Mouse.Message Msg, Mouse.MsllHookStruct Struct)
        {
            this.Msg = Msg;
            this.Struct = Struct;
        }
    }
}